package com.techhighteam675.robot2012;

import edu.wpi.first.wpilibj.KinectStick;

/**
 *
 * @author Noah Dove
 */
class KinectDrive implements DriveType
{
    private KinectStick leftKinect, rightKinect;

    public KinectDrive(KinectStick _leftKinect, KinectStick _rightKinect) {
        leftKinect = _leftKinect;
        rightKinect = _rightKinect;
    }

    public boolean isPIDControl() 
    {
        return false;
    }

    public double getLeftSpeed() 
    {
        return leftKinect.getY();
    }

    public double getRightSpeed()
    {
        return rightKinect.getY();
    }

    public int getShiftSetting() 
    {
        return DriveType.SHIFT_LOW;
    }

    public boolean isPickup() 
    {
        return leftKinect.getRawButton(2);
    }

    public int getRampArm() 
    {
        return 0;
    }
};
